package ace.module.account.core.impl.service.authentication.handler.model.input;

import ace.module.account.api.model.auth.input.AuthenticationParams;
import ace.module.account.core.impl.service.authentication.model.bo.AuthenticationContextBo;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author caspar
 * @date 2023/3/16 9:36
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AuthenticationHandlerContextInput<T extends AuthenticationParams> {

  @Valid
  @NotNull
  private AuthenticationContextBo<T> authenticationContext;
}
